gl: Fix downloading textures *again*
authorBenjamin Otte <otte@redhat.com>
Mon, 11 Oct 2021 01:29:11 +0000 (03:29 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 13 Oct 2021 12:33:44 +0000 (14:33 +0200)
commit31e9072906e746979b89e6a58e00cfef35ee3734
treef21026cb80b376565432eaca8088f16bc8436de0
parentc2368cc60527b24fabb962e71472671425a6eb0f
gl: Fix downloading textures *again*

It turns out glReadPixels() cannot convert pixels and you are only
allowed to pass a single value into the function arguments. You need to
know which ones or things will explode.

GL is great.
gdk/gdkgltexture.c
gsk/gl/gskgldriver.c